// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

.dropzone-area {
  :global(.ui.segment) {
    border: 2px dashed #007cac !important;
  }

  .file-card {
    .action {
      position: absolute;
      top: 3px;
      right: 2px;
      cursor: pointer;
    }

    :global(.content) :global(.header) {
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;

      .filename {
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 350px;
      }
    }

    :global(.ui.progress) {
      margin: 0;
    }
  }

  .file-selection-btn {
    margin-top: 10px;
    max-width: none !important;
  }
}
